home *** CD-ROM | disk | FTP | other *** search
/ Floppyshop 2 / Floppyshop - 2.zip / Floppyshop - 2.iso / diskmags / 0022-3.564 / dmg-0079 / 728.txt < prev    next >
Text File  |  1997-04-16  |  19KB  |  460 lines

  1. =========================================================================
  2.  
  3. INFO-ATARI16 Digest         Thu, 30 Nov 89       Volume 89 : Issue 728
  4.  
  5. Today's Topics:
  6.                               Cold Start
  7.          diabling on board RAM (was: Mem upgrade (was:None))
  8.                     Diff between TOS 1.0 and 1.2?
  9.                      High density Floppies on ST
  10.                       MAC pd/shareware EMULATORS
  11.                    Soz C V1.2 Upgrade help required
  12.                              ST/STE ROMs
  13.                 ST Environment variables. Help wanted.
  14.                      Uniterm 2.0e redialing hell
  15. ----------------------------------------------------------------------
  16.  
  17. Date: 30 Nov 89 12:03:38 GMT
  18. From: eru!luth!sunic!mcsun!unido!tub!tmpmbx!netmbx!hase@bloom-beacon.mit.edu
  19.  (Hartmut Semken)
  20. Subject: Cold Start
  21. Message-ID: <3880@netmbx.UUCP>
  22.  
  23. In article <4642@blake.acs.washington.edu> themod@blake.acs.washington.edu
  24.  (Chris Hinton) writes:
  25. >  Help!  I have search high and low, through every manual I could lay my
  26. >grubby paws on, and yet I can find no documentation on how to perform a
  27. >cold start from software.  If some kind soul out there can send me code
  28. >(C or Assembly preferable) I would be most appreciative.
  29.  
  30. Alan Pratt (@atari) poste one program a while back.
  31.  
  32. As far as I recall, it made the BUERR vector point to the same place,
  33. the RESET vector points to and then started to write 0L to any RAM
  34. adress from the first longword behind the program code (start of BSS?)
  35. up to 4M+1. Writing to this adress will cause a BUSERR, and BUSERR
  36. points to the coldstart routine (pointed to by RESET)...
  37.  
  38. Any virus (or ramdisk) will die fromm the NULLs :-)
  39.  
  40. hase
  41.  
  42.  
  43. --
  44. Hartmut Semken, Lupsteiner Weg 67, 1000 Berlin 37 hase@netmbx.UUCP
  45. Dennis had stepped up into the top seat whet its founder had died of a
  46. lethal overdose of brick wall, taken while under the influence of a
  47. Ferrari and a bottle of tequila. (Douglas Adams; the long dark teatime...)
  48.  
  49. ------------------------------
  50.  
  51. Date: 30 Nov 89 12:11:04 GMT
  52. From: eru!luth!sunic!mcsun!unido!tub!tmpmbx!netmbx!hase@bloom-beacon.mit.edu
  53.  (Hartmut Semken)
  54. Subject: diabling on board RAM (was: Mem upgrade (was:None))
  55. Message-ID: <3881@netmbx.UUCP>
  56.  
  57. In article <24494@cup.portal.com> Bob_BobR_Retelle@cup.portal.com writes:
  58. >j.harris asks, about the DataFree memory upgrade board:
  59. >As for the problems locating the proper resistors to lift, I'm afraid I
  60. >can't offer any help.  I don't remember seeing a Revision C board.  I know
  61. >it's a long, long distance call, but it might be best to call DataFree and
  62. >see what they say about it...
  63.  
  64. Probably, You are searching for the resistors to remove to disable half
  65. of the on board RAM.
  66. You have to remove just one resistor, the one in the RAS line (without
  67. RAS a RAM will stay in Tristate forever).
  68. RAS is pin 4 (four) of the 41 256 chips on the board and pin 3 (three)
  69. of the megabit chips.
  70. The RAS of the 256 chips must be disconnected from the MCU to disable
  71. them.
  72.  
  73. hase
  74. --
  75. Hartmut Semken, Lupsteiner Weg 67, 1000 Berlin 37 hase@netmbx.UUCP
  76. Dennis had stepped up into the top seat whet its founder had died of a
  77. lethal overdose of brick wall, taken while under the influence of a
  78. Ferrari and a bottle of tequila. (Douglas Adams; the long dark teatime...)
  79.  
  80. ------------------------------
  81.  
  82. Date: 30 Nov 89 00:37:39 GMT
  83. From: hpl-opus!hpnmdla!hpsad!daveba@hplabs.hp.com  (David Ballo)
  84. Subject: Diff between TOS 1.0 and 1.2?
  85. Message-ID: <750031@hpsad.HP.COM>
  86.  
  87. Although I bought my Atari 1040ST in June of 1988, it appears to have TOS 1.0
  88. in it instead of TOS 1.2 as I had expected.  Would some knowledgeable person
  89. kindly outline the differences between these two TOS versions?  Also, is it
  90. worth it to upgrade to TOS 1.4 (for a hundred bucks!)?
  91.  
  92. Thanks,
  93.  
  94. Dave Ballo
  95. HP, Signal Analysis Division R&D
  96.  
  97. ------------------------------
  98.  
  99. Date: 30 Nov 89 12:22:34 GMT
  100. From: eru!luth!sunic!mcsun!unido!tub!tmpmbx!netmbx!hase@bloom-beacon.mit.edu
  101.  (Hartmut Semken)
  102. Subject: High density Floppies on ST
  103. Message-ID: <3882@netmbx.UUCP>
  104.  
  105. In article <1348@uvm-gen.UUCP> pegram@uvm-gen.UUCP (pegram r) writes:
  106. >Thanks for all the info, Abacus books bite the dust again. I'll get a
  107. Abacus Internals (or the german original, Atari ST Intern by Data
  108. Becker) was source of my wisdom as well :-)
  109. >HD 3.5 floppy drive and let the net know how my '85 520 likes it.
  110. My 1985 520 ST plus likes it :-)
  111.  
  112. BTW, the WD1772 is specified to run at clock frequencies up to 10 MHz;
  113. 16 MHz is somewhat out of spec, but it works.
  114.  
  115. I'm preparing a more detailled set of instructions how to use HD
  116. floppies with the ST. Hang on.
  117.  
  118. As for the formatter: here ist goes (it's so short...)
  119. It was hacked from the example foramtter in the MWC Lexicon. it compiles
  120. with MWC; link with -VGEMAPP to exclude the long startup (if You wish).
  121.  
  122. ----
  123. /* formath.c Formatter fuer High Density Disketten */
  124. /* nur fuer angepasste Hardware! Floppycontroller und Laufwerk */
  125. /* muessen High-Density tauglich sein! */
  126. /* Hartmut Semken, Lupsteiner Weg 67 1000 Berlin 37 */
  127. /* hase@netmbx.UUCP */
  128. /* 03-SEP-89 */
  129. #include <stdio.h>
  130. #include <osbind.h>
  131. #include <time.h>
  132.  
  133. #define SLEEPTIME 1     /* 1: Zeitschleife, 0: Taste */
  134. #define BLANK (0xE5E5)
  135. #define MAGIC (0x87654321L)
  136. #define BUFSIZE (20*1024) /* Platz fuer mehr als 18 Sektoren... */
  137.  
  138. #define DEVICE 0        /* 0 = Floppy A, 1 = Floppy B   */
  139. #define SIDES 2         /* je                           */
  140. #define SECTORS 18      /* nach                         */
  141. #define TRACKS 80       /*Belieben                      */
  142.  
  143. #define TOTSEC (TRACKS * SIDES * SECTORS)
  144.  
  145. extern int errno;
  146.  
  147. main()?
  148.         int track;
  149.         int side;
  150.         int status;
  151.         short *bf;
  152.         register char reply;
  153.         short *middle;
  154.         char buffer[512];
  155.  
  156.         printf("\033E\n");
  157.         printf("Public Domain High Density Mini Formatter\n");
  158.         printf("von H. Semken\nDer Autor garantiert in keiner Weise fr die
  159.  Funktion\nDieses Programmes.\nBenutzung auf eigene Gefahr.\n");
  160.         printf("\n\n\n");
  161.         printf("\007\033pFormatiere Diskette in Drive %c\033q\n%d Seiten\n%d Sektoren
  162.  pro Spur\n%d Spuren\n\n", (65+DEVICE), SIDES, SECTORS, TRACKS);
  163.         printf("Wirklich formatieren? ");
  164.         fflush(stdout);
  165.         if ((reply = Crawcin()) != 'y' && reply != 'Y' && reply != 'j' && reply != 'J')
  166.  ?
  167.                 printf("Nein. Floppy nicht formatiert.\n");
  168.                 sleep(1);
  169.                 Pterm0();
  170.         ?
  171.         printf("Ja.\n");
  172.         printf("Diskette einlegen; Taste drcken...");
  173.         fflush(stdout);
  174.         Crawcin();
  175.         printf("\n");
  176.         bf = malloc(BUFSIZE);
  177.         for (track = TRACKS-1; track >= 0; track--) ?
  178.                 for (side = 0; side < SIDES; side++) ?
  179.                         printf("Formatiere Spur %d, Seite %d", track, side);
  180.                         fflush(stdout);
  181.                         status = Flopfmt(bf, 0L, DEVICE, SECTORS, track, side, 1, MAGIC, BLANK);
  182.                         if (status) ?
  183.                                 middle = bf;
  184.                                 printf("\t%d\n", status);
  185.                                 while (*middle) ?
  186.                                         printf("\tDefekter Sektor %d\n", *middle++);
  187.                                 ?
  188.                         ? else ?
  189.                                 printf("\tokay\r");
  190.                         ?
  191.                 ?
  192.         ?
  193.         printf("\n\nAlle Spuren formatiert\n");
  194.         printf("Initialisiere Directory\n");
  195.         for (track = 0; track < (BUFSIZE>>1); bf[track++] = 0);
  196.         for (track = 0; track < 2;track++) ?
  197.                 for (side = 0; side < SIDES; side++)?
  198.                 if (status = Flopwr(bf, 0L, DEVICE, 1, track, side, SECTORS)) ?
  199.                         errno = -status;
  200.                         perror("Write Error");
  201.                 ?
  202.                 ?
  203.         ?
  204.         Protobt(buffer, (long)Random(),3,0); /* Prototyp Bootsector fr
  205.                                               * 80 * 2 * 9 Sektoren */
  206.         /* Prototyp Bootsektor fr das neue Format anpassen */
  207.         /* Bytes 19 und 20 enthalten die Sektoren pro Disk */
  208.  
  209.         /* unteres Byte von TOTSEC */
  210.         buffer[19] = (char)(((TOTSEC>>8)<<8)~TOTSEC);
  211.         /* oberes Byte von TOTSEC; es lebe das Intel int-Format */
  212.         buffer[20] = (char)(TOTSEC>>8);
  213.         buffer[24] = (char)SECTORS; /* Sektoren pro Spur */
  214.         status = Flopwr(buffer, 0L, DEVICE, 1, 0, 0, 1);
  215.         if (status) ?
  216.                 errno = -status;
  217.                 perror("Write Error (Bootsector)");
  218.         ?
  219.         status = Flopver(buffer, 0L, DEVICE, 1, 0, 0, 1);
  220.         if (status) ?
  221.                 errno = -status;
  222.                 perror("Verify Error (Bootsector)");
  223.         ?
  224.         printf("Diskette in Laufwerk %c formatiert\n", (65+DEVICE));
  225.         sleep(1);
  226.         Pterm0();
  227. ?
  228.  
  229. sleep(seconds)
  230. int seconds;
  231. #if SLEEPTIME
  232. ?
  233.         clock_t t;
  234.         for(t = clock();clock() < (t + CLK_TCK*seconds););
  235. ?
  236. #else
  237. ?
  238.         printf("Taste druecken\n");
  239.         fflush(stdout);
  240.         Crawcin();
  241. ?
  242. #endif
  243.  
  244. -----
  245. Set seek rate to 6 Milliseconds for *all* drives (with *any* TOS
  246. version; tested on Rainbow TOS, BLiTTER TOS and TO 1.0):
  247.  
  248. /       module name seek6
  249.  
  250.         .shri
  251.  
  252.         .globl main_
  253. main_:
  254.         clr.l   -(sp)
  255.         move.w  $0x20,-(sp)
  256.         trap    $1
  257.         addq.l  $6,a7
  258.         move.l  d0,_save_ssp
  259.         move.w  $0,0x440        / 0,1,2,3 => 6,12,2,3 Milliseconds
  260.         lea     0x46a,a0
  261.         move.l  (a0),d0
  262.         movea.l d0,a0
  263.         jsr     (a0)
  264.         move.l  _save_ssp,-(sp)
  265.         move.w  $0x20,-(sp)
  266.         trap    $1
  267.         addq.l  $6,a7
  268.         .even
  269. _save_ssp:
  270.         .blkl   1
  271.  
  272.  
  273. hase
  274. --
  275. Hartmut Semken, Lupsteiner Weg 67, 1000 Berlin 37 hase@netmbx.UUCP
  276. Dennis had stepped up into the top seat whet its founder had died of a
  277. lethal overdose of brick wall, taken while under the influence of a
  278. Ferrari and a bottle of tequila. (Douglas Adams; the long dark teatime...)
  279.  
  280. ------------------------------
  281.  
  282. Date: 30 NOV 89 09:37:25 CST
  283. From: Z4648252 <Z4648252%SFAUSTIN.BITNET@ricevm1.rice.edu>
  284. Subject: MAC pd/shareware EMULATORS
  285. Message-ID: <891130.09372440.016777@SFA.CP6>
  286.  
  287.     Chill out folks, not to worry.
  288.     I'd be skeptical of the thing working anyway.  Assuming that the
  289. 'FREE MAC' is legally using Mac ROMs, it'd be an expensive project.  Just
  290. trace the history of Magic Sac and Spectre.  Not only will there have to
  291. be hardware development but also software driver development.
  292.     And, as was earlier mentioned, the Magic Sac can be had for as cheap
  293. as $40.00.  That would be a difficult product to beat for the price and
  294. it can do a lot of good things as long as 128k roms are not required for
  295. a particular application.
  296.     As it is, I've the Spectre GCR and think it is worth the funds that
  297. I saved up for to buy it.  For that money, I've gotten a professional
  298. product that WORKS, and support from Dave Small that makes me wish that
  299. he was in charge of Atari corp, shaping product development, but even
  300. more importantly, CUSTOMER/DEVELOPER RELATIONS.  But, I'll stop.  I could
  301. spend pages of typing in my defense and praise of David Small.  If he
  302. and Fast Technologies were to team up and build their own computer, I'd
  303. buy it in a second.
  304.  
  305. Larry Rymal:  |East Texas Atari 68NNNers| <Z4648252@SFAUSTIN.BITNET>
  306.  
  307. ------------------------------
  308.  
  309. Date: Thu, 30 Nov 89 16:23:57
  310. From: Rat <S61304%PRIME-A.POLY-SOUTH-WEST.AC.UK@CUNYVM.CUNY.EDU>
  311. Subject: Soz C V1.2 Upgrade help required
  312.  
  313. (From "The Masked Rat Fink"   "Computing and Informatics Yr4")
  314.  
  315. Dear Netters,
  316.  
  317. Being a beginning C programmer, I have managed to coax my copy of Sozobon
  318. Version 1.01 to compile, link and all that sort of stuff on single files.
  319. However I have not used anything other than the supplied CC utility, to
  320. drive all the other elements (hcc and top etc) and especially I haven't
  321. yet managed to get 'make' to work. This has slowed to a total halt my efforts
  322. to compile up the version 1.2 of Sozobon (supplied in source format only :-(
  323.  
  324. I have tried to use the make facility on the supplied files. I had my normal
  325. Soz C work disk in the A drive and the 1.2 source in a ram disk, installed
  326. as drive d:. I then made the source files the active window and ran the make
  327. utility by selecting it using the right-left double click technique and then
  328. selecting open from the desktop. But it still didn't work.
  329.  
  330. I would be mega obliged if someone could take the time to explain where I
  331. went wrong, so that I can actually perform the upgrade. I have no objections
  332. to anyone calling me a wally for getting something obvious wrong, but as far
  333. as C is concerned I have to ask these questions! :-)
  334.  
  335. I do have a copy of the Gulam shell, but I haven't used it very much yet.
  336. However I will dig it out and blow the dust off it if necessary.
  337.  
  338. Many thanks in advance
  339.  
  340. TMRF
  341.  
  342. PS To the authors of Sozobon, I read your request for news of anyone who was
  343.    using your software. Well ... I'm trying to do my final year project in it,
  344.    so I guess that I count as a user (perhaps a developer!?) of your product.
  345.  
  346. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  347. %                                                                           %
  348. % Simon Chappell (The Masked Rat Fink)                                      %
  349. % Computing and Informatics (Final Year), Polytechnic South West (Plymouth) %
  350. %                                                                           %
  351. %   "Better the pride that resides, in a citizen of the world,              %
  352. %    than the pride that divides, when a colourful rag is unfurled."        %
  353. %                                           - Neil Peart (RUSH)             %
  354. %                                                                           %
  355. % JANET      S61304@uk.ac.psw.pa                                            %
  356. % BITNET     S61304@pa.psw.ac.uk                                            %
  357. % INTERNET   S61304%uk.ac.psw.pa@nsfnet-relay.ac.uk                         %
  358. %                                                                           %
  359. %Disclaimer: I have no opinion, my wife wouldn't let me!                    %
  360. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  361.  
  362. ------------------------------
  363.  
  364. Date: 30 Nov 89 05:40:07 GMT
  365. From: portal!cup.portal.com!R_Tim_Coslet@uunet.uu.net
  366. Subject: ST/STE ROMs
  367. Message-ID: <24581@cup.portal.com>
  368.  
  369. >Why didn't Atari use large ROMs for the 1040 in the first place?
  370.  
  371. I don't know, but my GUESS is that Atari made the same "mistake" that
  372. the company I work for frequently makes... they underestimated the size
  373. of the code when they specified the amount of ROM space needed while designing
  374. the hardware, by the time they realized that they needed more ROM the hardware
  375. was "set in stone" and could not be changed... so they got an "expert code
  376. compression" type programmer to try to squeeze every byte out that they could
  377. thru ANY trick possible. This is probably also part of the reason the TOS
  378. sources are so "disorganized" and difficult to read.
  379.  
  380. This happened on a machine that I worked on several years ago (and was
  381. especially bad). The system spec called for 50% unused ROM... software
  382. estimated the code could easilly fit in <2K, so the hardware was designed
  383. with 4K of ROM... However the first COMPLETE version of the code needed 5K!!!
  384. That took some VERY strange recodings to squeeze 5K of code into a 4K ROM.
  385.  
  386.                                         R. Tim Coslet
  387.  
  388. Usenet: R_Tim_Coslet@cup.portal.com
  389. BIX:    r.tim_coslet
  390.  
  391. ------------------------------
  392.  
  393. Date: Thu, 30 Nov 89 16:36:50
  394. From: Rat <S61304%PRIME-A.POLY-SOUTH-WEST.AC.UK@CUNYVM.CUNY.EDU>
  395. Subject: ST Environment variables. Help wanted.
  396.  
  397. (From "The Masked Rat Fink"   "Computing and Informatics Yr4")
  398.  
  399. Dear Netters (again),
  400.  
  401. Does anyone out there feel so disposed as to explain to a poor unfortunate
  402. about environment variables?
  403.  
  404. 1    What are they?
  405. 2    Where are they stored?
  406. 3    What are the standard ones? (I've heard of PATH)
  407. 4    How do I use them from C (Sozobon in particular!)
  408. 5    How do I pass them to other programs?
  409.  
  410. I'm learning slowly but surely, but haven't yet come across this information!
  411. May I also say that the technical articles that arrive in my mail box, through
  412. this group are very benificial and that I have learnt much. However the flames
  413. are just getting on my nerves! I seem to remember buying my ST for what it
  414. could do at that exact instance when I handed over my hard earned cash, not
  415. because I expected Atari to issue loads of wonderful add-ons (such as an
  416. 'Atari to PC missile :-) but because it was cheap, powerful and most importantly
  417. it had megs of software available at either reasonable or negligable prices
  418. (as well as all that scrummy p.d. and freeware!!).
  419.  
  420. Thanks in advance,
  421.  
  422. TMRF (Getting down off soapbox now! :-)
  423.  
  424. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  425. %                                                                           %
  426. % Simon Chappell (The Masked Rat Fink)                                      %
  427. % Computing and Informatics (Final Year), Polytechnic South West (Plymouth) %
  428. %                                                                           %
  429. %   "Better the pride that resides, in a citizen of the world,              %
  430. %    than the pride that divides, when a colourful rag is unfurled."        %
  431. %                                           - Neil Peart (RUSH)             %
  432. %                                                                           %
  433. % JANET      S61304@uk.ac.psw.pa                                            %
  434. % BITNET     S61304@pa.psw.ac.uk                                            %
  435. % INTERNET   S61304%uk.ac.psw.pa@nsfnet-relay.ac.uk                         %
  436. %                                                                           %
  437. %Disclaimer: I have no opinion, my wife wouldn't let me!                    %
  438. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  439.  
  440. ------------------------------
  441.  
  442. Date: Thu, 30 Nov 89 08:50:44 EST
  443. From: David Megginson <MEGGIN%vm.epas.utoronto.ca@CORNELLC.cit.cornell.edu>
  444. Subject: Uniterm 2.0e redialing hell
  445.  
  446. If you set retries to 0, Uniterm will continue to dial until it gets
  447. an answer. If you set retries to 1, Uniterm will try the number once;
  448. if you set it to 2, it will try the number twice; etc.
  449.  
  450.  
  451.  
  452.  
  453.  
  454.      David Megginson, Centre for Medieval Studies, Toronto
  455.  
  456. ------------------------------
  457.  
  458. End of INFO-ATARI16 Digest V89 Issue #728
  459. *****************************************
  460.